#include "TcpClient.hpp"
#include <iostream>

int main(int argc, char* argv[])
{
    if (argc != 3)
    {
        std::cout << "Usage: processname ip port" << std::endl;
        return 1;
    }

    std::string ip = argv[1];
    uint16_t port = std::stoi(argv[2]);

    Client client(ip, port);
    client.Init();
    client.Start();
    client.Close();

    return 0;
}